/**
 * Created with IntelliJ IDEA.
 * Description:
 * User:DELL
 * Date:2024-11-01
 * Time:14:22
 */
public class Test {
    public static void main(String[] args) {
        Mystack mystack=new Mystack();
        mystack.push(1);
        mystack.push(2);
        mystack.push(3);
        mystack.push(4);
        mystack.push(5);
        System.out.println(mystack.pop());
        System.out.println(mystack.pop());
        System.out.println(mystack.peek());


    }
}
